import syRequest from ".."

const rootUrl = "/animal"

/**
 * 获取随机的动物数据
 * @param 随机的数量
 * @returns
 */
export function getRandomAnimals(quantity: number) {
  return syRequest.get({
    url: rootUrl + `/getRandomAnimals?quantity=${quantity}`
  })
}
